package com.yizhuoyan.his.service.pharmacyoperator;

import com.yizhuoyan.his.ao.CaseRegistrationRecordAo;
import com.yizhuoyan.his.entity.CaseRegistrationRecordEntity;
import com.yizhuoyan.his.entity.DocHerbalPrescriptionDetailEntity;
import com.yizhuoyan.his.entity.DocPrescriptionDetailEntity;
import com.yizhuoyan.his.entity.HosDrugsEntity;
import com.yizhuoyan.his.qco.CaseRegistrationRecordQco;
import org.springframework.lang.NonNull;

import java.util.List;

/**
 * 发药实现类
 */
public interface DrugSendService {
    /**
     *
     * @param qco
     * @return 多个患者基本信息
     * @throws Exception
     */
  List<CaseRegistrationRecordEntity> queryCaseRegistrationRecord(@NonNull CaseRegistrationRecordQco qco) throws Exception;

    /**
     * 给我一个患者挂号id
     * @param  id
     * @return 帮你查找出对应患者的西药处方
     * @throws Exception
     */
  List<DocPrescriptionDetailEntity> queryPrescriptionDetails(Long id) throws  Exception;

    /**
     * 给我一个患者挂号id
     * @param id
     * @return 帮你查询出对应的中药处方
     * @throws Exception
     */
  List<DocHerbalPrescriptionDetailEntity> queryHerbalPrescriptionDetails(Long id)throws Exception;
  /**
   * 给我一个患者挂号id
   * @param  id
   * @return 帮你查找出对应患者的西药处方
   * @throws Exception
   */
  List<HosDrugsEntity> queryPrescriptionDetailsDrugs(Long id) throws  Exception;

  /**
   * 给我一个患者挂号id
   * @param id
   * @return 帮你查询出对应的中药处方
   * @throws Exception
   */
  List<HosDrugsEntity> queryHerbalPrescriptionDetailsDrugs(Long id)throws Exception;
}
